#include <stdio.h>


int main()
{
	int a,b;
	int ch[100]={0};
	int i=0;
	int count=0;
	while(scanf("%d %d",&a,&b)!=EOF)
	{
		ch[i]=a+b;
		i++;
		count++;
	}
	for(i=0;i<count;i++)
	{
		printf("%d\n",ch[i]);
	}
	return 0;
}